tools/hotplug/Linux: start xen daemons in runlevel 2.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 17 Jan 2011 17:52:39 +0000 (17:52 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 17 Jan 2011 17:52:39 +0000 (17:52 +0000)
This is the default runlevel on a Debian system.

In addition update-rc.d complains:

  update-rc.d: warning: xencommons stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)

and it seems reasonable to stop the daemons during shutdown or reboot
so make that change as well.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/init.d/xencommons

index 873f6884e8d078683771a43a32cfab91faaf4171..9d3ea3fb29d2d20c2e2fa594f5cbfd339ebe8e6e 100644 (file)
@@ -12,8 +12,8 @@
 # Should-Start:
 # Required-Stop:     $syslog $remote_fs
 # Should-Stop:
-# Default-Start:     3 4 5
-# Default-Stop:      1
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Start/stop xenstored and xenconsoled
 # Description:       Starts and stops the daemons neeeded for xl/xend
 ### END INIT INFO